<template>
  <div class="shangpinxq">
    <div class="xiangqing-header">
      <!--<router-link :to="{name: 'shouye/muying'}">-->
      <img @click="Back()" class="back" src="../../assets/img/shouye/header-xinpin/back.png" />
      <!--</router-link>-->
      <p>商品详情</p>
      <div class="share">
        <img @click="gocart" src="../../assets/img/shouye/shouye-shangpinxiangqing/购物车前.png"/>
        <img  src="../../assets/img/shouye/header-xinpin/share.png" />
        <router-link :to="{name: 'shouye/tuijian'}">
        <img src="../../assets/img/shouye/shouye-shangpinxiangqing/首页.png"/>
        </router-link>
      </div>
    </div>
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
        <div class="swiper-slide"><img src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
        <div class="swiper-slide"><img src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
        <div class="swiper-slide"><img src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
        <div class="swiper-slide"><img src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
      </div>
      <!-- 如果需要分页器 -->
      <div class="swiper-pagination"></div>
    </div>
    <div class="qiangshop">
      <span>抢购价：￥129.08</span>
      <div>
      <span>今天15:00开抢</span>
      <span @click="goshuoming">提醒我</span>
      </div>
    </div>
    <div class="price">
      <h3>
        <img src="../../assets/img/shouye/shouye-shangpinxiangqing/guoqi.png" alt="">
        <span>英国直邮</span>
        焕彩萃璨花蕊唇彩4.8g焕彩萃璨花
        蕊唇彩4.8g 焕彩萃璨花蕊唇彩4.8g
      </h3>
      <h4>￥169</h4>
      <h5>关税：￥10 <span>详情 > </span></h5>
      <h5>邮费：￥50</h5>


    </div>
    <div class="price jifengou">
      <h6>
        <img src="../../assets/img/shouye/shouye-shangpinxiangqing/jifengou.png" alt="">
        500000积分可抵500元，限购1件
      </h6>
    </div>
    <div class="zhiyou">
      <ul>
        <li>
          <img src="../../assets/img/shouye/shouye-shangpinxiangqing/buzhichi.png" alt=""><span>不支持7天无忧退换</span>
        </li>
        <li>
          <img src="../../assets/img/shouye/shouye-shangpinxiangqing/feiji.png" alt=""><span>海外直邮</span>
        </li>
        <li>
          <img src="../../assets/img/shouye/shouye-shangpinxiangqing/zhengpin.png" alt=""><span>正品保证 > </span>
        </li>
      </ul>
      <h3>
        <img src="../../assets/img/shouye/shouye-shangpinxiangqing/guoqi.png" alt="">
        <p>
          直邮，下单时需要提供真实姓名和身份证号以及收货地址,请先去添加并填写这些信息
          <span>去添加</span>
        </p>
      </h3>
    </div>
    <div class="fenxinde">
      <div>
        <router-link :to="{name: 'xindedetails'}">
        <span>啊拉粉心得</span>
        </router-link>
      </div>
      <div>查看更多></div>
    </div>
    <div class="pingjia">
      <ul>
        <li v-for="item in 3">
          <p>颜色涂抹上去看着很漂亮，棒棒哒！</p>
          <div class="user">
          <img src="../../assets/img/duanhuo/shopxq/headImg.png" alt="">
          <span>露露</span>
          </div>
        </li>
      </ul>
    </div>
    <div class="pqname">
      <div class="biaozhi">
        <p>品牌标志</p>
      </div>
      <div class="shopname">
        <span>品牌名字品牌名字</span>
        <span>英国最大彩妆品牌</span>
        <p>查看<span>10</span>件商品</p>
      </div>
      <div class="guanzhu">
        <span>+</span><span>关注</span>
      </div>
      <p>品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌
        介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍
        品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介绍品牌介...</p>
    </div>
    <div class="fen">
      <div class="product">
      <img src="../../assets/img/duanhuo/shopxq/product1.png" alt="">
      <p>会呼吸丝滑蜜粉</p>
      <p>￥199</p>
      </div>
      <div class="product">
        <img src="../../assets/img/duanhuo/shopxq/product2.png" alt="">
        <p>BB矿物粉饼9g</p>
        <p>￥299</p>
      </div>
      <div class="product">
        <img src="../../assets/img/duanhuo/shopxq/product3.png" alt="">
        <p>植萃腮红胭脂</p>
        <p>￥188</p>
      </div>
    </div>
    <div class="miaosu">
      <ul>
        <li>
          <span>商品描述</span>
        </li>
        <li>
          <p>该模块主要用来描述上面产品，模块大小根据商品描述的内容多少来决定。该模块主要用来描述上面产品该模块主要用来描述上面产品该模块主要用来描述上面产品该模块主要用来描述上面产品该模块主要用来描述上面产品该模块主要...</p>
        </li>
        <li>
          <span>使用方法</span>
        </li>
        <li>
          <p>1.该模块用来介绍商品的使用方法</p>
          <p>2.该模块的大小同样取决于该使用方法的内容多少</p>
          <p>3.所以该模块活动性比较大</p>
        </li>
        <li>
          <span>商品图片</span>
        </li>
        <li>
          <p>该模块主要用于上面产品的产品展示图，该模块的大小取决于该商品图片长度的多少，该模块活动性比较大，应预留够足够的大小</p>
          <div v-for="num in 2"><img  src="../../assets/img/duanhuo/shouye/listImg2.png" alt=""></div>
        </li>
      </ul>
    </div>
    <div class="mai">
      <p class="ppp">啊拉粉在买</p>
      <hr>
      <div class="fen">
        <div class="product">
          <img src="../../assets/img/duanhuo/shopxq/product1.png" alt="">
          <p>会呼吸丝滑蜜粉</p>
          <p>￥199</p>
        </div>
        <div class="product">
          <img src="../../assets/img/duanhuo/shopxq/product2.png" alt="">
          <p>BB矿物粉饼9g</p>
          <p>￥299</p>
        </div>
        <div class="product">
          <img src="../../assets/img/duanhuo/shopxq/product3.png" alt="">
          <p>植萃腮红胭脂</p>
          <p>￥188</p>
        </div>
      </div>
    </div>
    <div class="chengnuo">
      <span class="cn">品牌承诺</span>
      <ul>
        <li>
          <div>
            <img src="../../assets/img/shouye/shouye-shangpinxiangqing/zhengpin2.png" alt="">
          </div>
          <p>正品保证</p>
        </li>
        <li>
          <div>
            <img src="../../assets/img/shouye/shouye-shangpinxiangqing/feiji2.png" alt="">
          </div>
          <p>海外直邮</p>
        </li>
        <li>
          <div>
            <img src="../../assets/img/shouye/shouye-shangpinxiangqing/butie.png" alt="">
          </div>
          <p>超时发货补贴</p>
        </li>
        <li>
          <div>
            <img src="../../assets/img/shouye/shouye-shangpinxiangqing/picc.png" alt="">
          </div>
          <p>PICC承保</p>
        </li>
      </ul>
    </div>
    <div class="xiaotieshi">
      <img src="../../assets/img/shouye/shouye-shangpinxiangqing/xiaotieshi.png" alt="">
      <p>
        运费相关：英国直邮商品相关运费为50元。
      </p>
      <p>
        价格说明：划线价、国内参考价、店头价可能是品牌专柜价、吊
        牌价或品牌商提供的指导价等价格，其受国家地区、时间和市场
        行情波动的影响而可能与您购物时看到的不一致，该价格仅供参
        考。
      </p>
      <p>
        商品包装：海外商品包装更换较为频繁，因此顾客您收到的货品
        有可能与图片不完全一致，页面图片及描述仅供参考，请以您最
        终收到的实物为准，由此给您带来的不便请您多谅解。
      </p>
      <p>
        服务承诺：阿拉灯承诺站内销售商品均为海外原装正品，并会持
        续为顾客们带来海外最新商品。
      </p>
    </div>
    <ul class="kefu">
      <li>
        <img src="../../assets/img/shouye/shouye-shangpinxiangqing/kefu.png" alt="">
        在线客服
      </li>
      <li>
        <span @click="gocart">加入购物车</span>
      </li>
    </ul>
  </div>
</template>
<script>
  import * as $ from 'jquery'
  import * as Swiper from 'swiper'
  import "swiper/dist/css/swiper.css"
  import '../../style/mySwiper.css'
  export default {
    mounted() {
      new Swiper['default']('.swiper-container', {
        loop: true,
        autoplay: true,
        // 如果需要分页器
        pagination: {
          el: '.swiper-pagination',
          clickable: true,
          bulletActiveClass: 'my-bullet-active',
        },

      })
    },
    methods: {
      Back () {
        this.$router.go(-1)
      },
      goshuoming(){
        this.$router.push({path:'/detailsshuoming'})
      },
      gocart(){
        this.$router.push({path:'/carty'})
      }

    }
  }
</script>
<style scoped>
  .shangpinxq{
    position: relative;
    width: 100%;
    padding-top: 2rem;
    background: #f2f2f2;
  }
  .xiangqing-header {
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    background: #e53e42;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
  .back {
    vertical-align: middle;
    width: 0.6rem;
    margin-left: 0.5rem;
  }
  .xiangqing-header>p{
    width: 8rem;
    padding-left: 2.5rem;
    height: 100%;
    text-align: center;
    display: inline-block;
    font-family: MicrosoftYaHei;
    font-size: 0.7rem;
    font-weight: normal;
    font-stretch: normal;
    color: #ffffff;

  }
  .share {
    display: inline-block;
  }
  .share img {
    vertical-align: middle;
    width: 0.8rem;
  }
  .swiper-slide {
    text-align: center;
    background: #fff;
  }
  .swiper-slide img{
    width: 20%;
    padding: 1rem;
  }
  .qiangshop{
    width: 100%;
    height: 2.5rem;
    background-color: #e53e42;
    color: #fff;
    font-size: 0.6rem;
  }
  .qiangshop span:nth-of-type(1){
    margin: 0 0.2rem;
    font-size: 0.7rem;
    display: inline-block;
    margin-top: 0.9rem;
  }
  .qiangshop div{
    display: inline-block;
    float: right;
    margin-right: 0.3rem;
    margin-top: 0.9rem;
  }
  .qiangshop div span:nth-of-type(1){
    margin: 0 0.2rem;
    /*float: right;*/
    /*margin-right: 60%;*/
  }
  .qiangshop div span:nth-of-type(2){
    margin: 0 0.2rem;
    background-color: #ffffff;
    border-radius: 1rem;
    color: red;
    padding: 0.1rem 0.4rem;
    /*float: right;*/
    /*margin-left: 80%;*/
  }
  .price {
    border-bottom: 1px solid #ccc;
    padding: 0.5rem;
    background: #fff;
  }
  .price  h3 {
    font-family: MicrosoftYaHei;
    font-size: 0.8rem;
    font-weight: normal;
    font-stretch: normal;
    color: #333333;
  }
  .price  h3 span{
    color: #e53e42;
  }
  .price h4 {
    margin-top: 0.5rem;
    font-family: MicrosoftYaHei;
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    color: #e53e42;
  }
  .price h5 {
    font-family: MicrosoftYaHei;
    font-size: 0.6rem;
    font-weight: normal;
    font-stretch: normal;
    color: #4d4d4d;
  }
  .price h5 span {
    font-size: 0.5rem;
    color: #e53e42;
    border: 1px solid #e53e42;
    padding: 0 0.1rem;
  }
  .price h6 {
    padding: 0.3rem 0;
    font-size: 0.7rem;
    font-weight: normal;
    font-stretch: normal;
    color: #4d4d4d;
  }
  .price h6 img {
    vertical-align: middle;
    width: 2rem;
  }
  .jifengou{
    padding: 0rem 0.6rem;
  }

  .zhiyou {
    background: #fff;
  }
  .zhiyou ul li:nth-of-type(1) span{
    color: red;
  }
  .zhiyou ul {
    display: flex;
    padding-left: 0.2rem;
    /*border-top: 1px solid #ccc;*/
    border-bottom: 1px solid #ccc;
  }
  .zhiyou ul li {
    text-align: center;
    flex: 1;
  }
  .zhiyou ul li img {
    width: 0.6rem;
    vertical-align: middle;
  }
  .zhiyou ul li span {
    padding-left: 0.1rem;
    display: inline-block;
    font-size: 0.5rem;
    font-weight: normal;
    font-stretch: normal;
    color: #4d4d4d;
  }
  .zhiyou h3 {
    display: flex;
    padding: 0.5rem 0.2rem;
  }
  .zhiyou h3 img {
    height: 0.5rem;
    vertical-align: middle;
    margin-top: 0.2rem;
    padding: 0.1rem 0.4rem;
    border-right: 1px solid #ccc;
  }
  .zhiyou h3 p {
    flex: 1;
    font-family: MicrosoftYaHei;
    font-size: 0.6rem;
    font-weight: normal;
    font-stretch: normal;
    color: #e53e42;
    padding-left: 0.2rem;
  }
  .zhiyou h3 p span {
    border-right: 1px solid #e53e42;
    color: #e53e42;
    font-size: 0.5rem;
    padding: 0.1rem 0.2rem;
    margin: 1rem 0 0 2.8rem;
  }
  .fenxinde{
    background: #fff;
    margin-top: 0.3rem;
    padding: 0.2rem 0;
  }
  .fenxinde span{
    color: black;
  }
  .fenxinde div{
    display: inline-block;
  }
  .fenxinde div:nth-of-type(1){
    padding: 0.1rem;
    margin: 0 2%;
  }
  .fenxinde div:nth-of-type(1) span{
    border-left: 0.2rem solid #e53e42;
    font-size: 0.8rem;
  }
  .fenxinde div:nth-of-type(2){
    font-size: 0.6rem;
    width: 20%;
    margin-left: 45%;
  }
  .pingjia{
    background: #fff;
  }
  .pingjia ul{
    padding: 0.1rem;
  }
  .pingjia ul li{
    width: 25%;
    height: 5rem;
    margin-left: 3%;
    margin-bottom: 0.3rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
    border: solid 1px #cccccc;
    border-top: 0;
    display: inline-block;
  }
  .pingjia ul li p{
    font-size: 0.5rem;
    margin-bottom: 20%;
  }
  .pingjia ul li .user{
    height: 1rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
  }
  .pingjia ul li img{
    width: 20%;
  }
  .pingjia ul li span{
    font-size: 0.4rem;
    margin-left: 0.3rem;

  }
  .pqname{
    margin-top: 0.5rem;
    width: 100%;
    background: #fff;
    align-items: center;
    /*padding: 0.2rem;*/
  }
  .pqname .biaozhi{
    display: inline-block;
    width: 1rem;
    margin: 0.5rem;
    font-size: 0.1rem;
    padding: 0.3rem;
    background-color: #ffffff;
    border-top: solid 1px #cccccc;
    border-left: solid 1px #cccccc;
  }
  .pqname .shopname{
    display: inline-block;
  }
  .pqname .shopname span:nth-of-type(1){
    font-size: 0.6rem;
  }
  .pqname .shopname span:nth-of-type(2){
    font-size: 0.5rem;
  }
  .pqname .shopname p{
    font-size: 0.5rem;
  }
  .pqname .shopname p span{
    color: red;
  }
  .pqname .guanzhu{
    width: 2rem;
    height: 0.8rem;
    line-height: 0.6rem;
    color: #e53e42;
    text-align: center;
    border-radius: 0.5rem;
    border: solid 1px #e53e42;
    float: right;
    margin: 0.8rem 0.5rem;
  }
  .pqname .guanzhu span:nth-of-type(1){
    font-size: 0.8rem;
  }
  .pqname .guanzhu span:nth-of-type(2){
    font-size: 0.5rem;
  }
  .pqname p{
    /*margin: 0.5rem ;*/
    font-size: 0.2rem;
  }
  .fen{
    background: #fff;
  }
  .fen .product{
    display: inline-block;
    width: 25%;
    text-align: center;
    margin-top: 1rem;
    margin-left: 1rem;
  }
  .fen .product img{
    height: 3rem;
  }
  .fen .product p{
    font-size: 0.5rem;
  }
  .miaosu{
    margin-top: 0.5rem;
    background: #fff;
    padding: 0.3rem;
  }
  .miaosu ul li{
    border-bottom: 1px solid #ccc;
  }
  .miaosu ul li span{
    margin-left: 0.1rem;
    border-left: 0.3rem solid #e53e42;
    font-size: 0.8rem;
  }
  .miaosu ul li p{
    margin: 0.2rem 0;
    font-size: 0.6rem;
  }
  .miaosu ul li:last-child{
    border: none;
  }
  .miaosu ul li:last-child div{
    text-align: center;
  }
  .miaosu ul li:last-child img{
    margin-bottom: 0.5rem;
  }
  .mai{
    background: #fff;
    margin-top: 0.5rem;
    padding-top: 0.3rem;
  }
  .mai .ppp{
    margin: 0.3rem;
    font-size: 0.8rem;
    border-left: 0.3rem solid #e53e42;
  }
  .chengnuo {
    padding: 0.5rem 0;
    background: #fff;
    margin: 0.2rem 0;
  }
  .chengnuo .cn{
    font-size: 0.8rem;
    border-left: 0.3rem solid #e53e42;
    margin-left: 0.5rem;
  }
  .chengnuo ul {
    display: flex;
  }
  .chengnuo ul li {
    flex: 1;
    text-align: center;

  }
  .chengnuo ul li div {
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    line-height: 2rem;
  }
  .chengnuo img {
    width: 1.5rem;
    vertical-align: middle;
  }
  .chengnuo p {
    font-family: MicrosoftYaHei;
    font-size: 0.5rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1.37rem;
    letter-spacing: 0rem;
    color: #4d4d4d;
  }
  .xiaotieshi img {
    width: 80%;
    margin: 0.2rem 10%;
  }
  .xiaotieshi p {
    margin: 0.2rem 0.5rem;
    font-family: MicrosoftYaHei;
    font-size: 0.6rem;
    font-weight: normal;
    font-stretch: normal;
    color: #4d4d4d;
  }
  .kefu {
    display: flex;
  }
  .kefu li {
    text-align: center;
    flex: 1;
  }
  .kefu li {
    font-family: MicrosoftYaHei;
    font-size: 0.8rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1.37rem;
    letter-spacing: 0rem;
    color: #4d4d4d;
    padding: 0.5rem;
  }
  .kefu img {
    width: 1rem;
    /*vertical-align: middle;*/
  }
  .kefu li:nth-child(1) {
    background: #fff;
  }
  .kefu li:nth-child(2) {
    background: #e53e42;
    color: white;
  }
</style>

